home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #14
/
Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO
/
os2
/
mlrxshl.zip
/
POPD.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1995-02-09
|
327b
|
13 lines
/* popd.cmd */
tmpdir = value(TMP,,OS2ENVIRONMENT)
olddir = value(LASTDIR,,OS2ENVIRONMENT)
oldfile= tmpdir'\'value(WP_OBJHANDLE,,OS2ENVIRONMENT)'.'olddir
if olddir='' | olddir=0 then exit 1
'@set LASTDIR='right(linein(oldfile),1)
call directory linein(oldfile)
call stream oldfile,'c','close'
'@del /f 'oldfile